<?php
Class Jscript_phpjs
 {
 	  public static function redirect($strurl){
  
 	  	echo "<script language='javascript'>window.location='".$strurl."';</script>";
 	  	
 	  }
 	  
 	  public static function alert($strmessage){
 	  	echo "<script language='javascript'>alert('".$strmessage."');</script>";
 	  }

 	  public static function confirm($strmessage){
 	  	echo "<script language='javascript'>confirm('".$strmessage."');</script>";
 	  }
    	
 	
 }

 
 ?>